import { request } from '@/network/request';
export const getApplyList = (params) => {
  return request({
    url: '/Maintain/SelectApplyList/btn-applysearch',
    method: 'get',
    params,
  });
};
export const updateApply = (data) => {
  return request({
    url: '/Maintain/UpdateApply/btn-applyupdate',
    method: 'post',
    data,
  });
};
export const updateApplyList = (data) => {
  return request({
    url: '/Maintain/updateBatchApply/btn-applybatchupdate',
    method: 'post',
    data,
  });
};
export const updateApplyListDeny = (data) => {
  return request({
    url: '/Maintain/updateBatchDeny/btn-applybatchdeny',
    method: 'post',
    data,
  });
};
export const deleteApply = (params) => {
  return request({
    url: '/Maintain/DeleteApply/btn-applydelete',
    method: 'get',
    params,
  });
};
